package com.dongdongshop.service;

import com.dongdongshop.pojo.*;
import com.dongdongshop.vo.TbAddressVo;

import java.util.List;

public interface TbAddressVoService {

    //查询订单地址数据
    List<TbAddressVo> showTbAddressVo(String username);

    //获取省份地址
    List<TbProvinces> showTbProvinces();

    //获取市区地址
    List<TbCities> showTbCities(String provinceid);

    //获取县地址
    List<TbAreas> showTbAreas(String cityid);

    //添加地址
    void addTbAddress(TbAddress tbAddress);

    //删除地址
    void deleteTbAddress(Long id);

    //地址回显
    TbAddress echoTbAddress(Long id);

    //修改地址
    void updateTbAddress(TbAddress tbAddress);

    //设置为默认地址
    void zheweimoren(Long id, TbUser tbUser);
}
